From: Richard M. Stallman Date: Fri, 23 May 1997 17:32:41 +0000 (+0000) Subject: (internal_equal): When comparing strings, ignore text props. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~81141 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=36febf9e9b7eed5f4cd150bb4617ca6fee24fb6c;p=emacs.git (internal_equal): When comparing strings, ignore text props. Friedman offers to fix anything that has trouble due to this. --- diff --git a/src/fns.c b/src/fns.c index a7bcc28c3dd..d4a48d2dc8f 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1159,13 +1159,6 @@ internal_equal (o1, o2, depth) if (bcmp (XSTRING (o1)->data, XSTRING (o2)->data, XSTRING (o1)->size)) return 0; -#ifdef USE_TEXT_PROPERTIES - /* If the strings have intervals, verify they match; - if not, they are unequal. */ - if ((XSTRING (o1)->intervals != 0 || XSTRING (o2)->intervals != 0) - && ! compare_string_intervals (o1, o2)) - return 0; -#endif return 1; } return 0;